package com.apiserver.data.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author feizhou
 * @Description 注解的优先级高于全局配置
 * @Date 下午 5:59 2019/10/8 0008
 * @Param
 * @return
 **/


@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
public @interface Id {
    IdStrategy value() default IdStrategy.AUTO_INCREMENT;

}
